package com.agileboot.domain.airport.report.command;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * 新增安全信息命令
 */
@Data
public class AddReportCommand {

    @NotBlank(message = "信息标题不能为空")
    @Size(max = 255, message = "标题长度不能超过255字符")
    private String title;

    private String terminalType;

    private String infoSource;

    private Long dutyDeptId;

    private String basis;

    private Long discoverer;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTC")
    private Date discoveryDate;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTC")
    private Date createTime;

    private String discoveryPlace;

    private String hiddenPeopleFlag;

    private Long acceptDeptId;

    private String reportType;

    private byte[] infoDescribe;

    private String closeStatus;

    private Long contactPerson;

    private String contactPhone;

    private Long sourceId;

    private String sourceType;

    private Integer fileFlag;

    private String feedback;

    private Long creatorId;

    private Long inspectionCheckId;

    private String status;

}
